Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for loopback type in nmcli module #7515

Merged

Conversation

haddystuff
Copy link
Contributor

SUMMARY

This PR adds support for device type loopback in nmcli module, as it was requested in #6572

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/nmcli.py

ADDITIONAL INFORMATION

With new devices type you should be able to add new ip addresses and dns entries to lo interface. There no way to change mtu since loopback connection doesn't have 802-3-ethernet.mtu parameter yet.

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module plugins plugin (any type) tests tests unit tests/unit labels Nov 12, 2023
@ansibullbot

This comment was marked as outdated.

@ansibullbot ansibullbot added ci_verified Push fixes to PR branch to re-run CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Nov 12, 2023
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-8 Automatically create a backport for the stable-8 branch labels Nov 12, 2023
@ansibullbot ansibullbot removed ci_verified Push fixes to PR branch to re-run CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Nov 12, 2023
@felixfontein
Copy link
Collaborator

If nobody objects I'll merge this in ~a week.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Nov 22, 2023
@felixfontein felixfontein merged commit 5147c49 into ansible-collections:main Nov 22, 2023
118 checks passed
Copy link

patchback bot commented Nov 22, 2023

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/5147c49498c40165abe025b70b3996d1a3bb8a6b/pr-7515

Backported as #7566

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein
Copy link
Collaborator

@haddystuff thanks for your contribution!

patchback bot pushed a commit that referenced this pull request Nov 22, 2023
* add support for loopback devices

* add support for loopback devices

* fix yamllint issue in changelog fragment

* Fix yamlint warning and add note about new connectin type in docs

* change order of lines in documentation so they are sorted

(cherry picked from commit 5147c49)
felixfontein pushed a commit that referenced this pull request Nov 22, 2023
…in nmcli module (#7566)

Add support for loopback type in nmcli module (#7515)

* add support for loopback devices

* add support for loopback devices

* fix yamllint issue in changelog fragment

* Fix yamlint warning and add note about new connectin type in docs

* change order of lines in documentation so they are sorted

(cherry picked from commit 5147c49)

Co-authored-by: Alex Groshev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch feature This issue/PR relates to a feature request module module plugins plugin (any type) tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants